Platform Explorer / Nuxeo Platform LTS 2017 9.10

Contribution org.nuxeo.template.service.defaultContrib--outputFormat

This contribution is part of XML component org.nuxeo.template.service.defaultContrib inside nuxeo-template-rendering-core-9.10.jar /OSGI-INF/templateprocessor-contrib.xml

Documentation

Adds outputFormat for the following mime type

  • pdf
  • odt
  • doc
  • docx

Extension Point

Extension point outputFormat of component TemplateProcessorComponent.

Contributed Items

  • <outputFormat id="pdf" label="PDF" mimetype="application/pdf"/>
  • <outputFormat id="odt" label="ODT" mimetype="application/vnd.oasis.opendocument.text"/>
  • <outputFormat id="doc" label="DOC" mimetype="application/msword"/>
  • <outputFormat id="docx" label="DOCX" mimetype="application/vnd.openxmlformats-officedocument.wordprocessingml.document"/>

XML Source

<extension point="outputFormat" target="org.nuxeo.template.service.TemplateProcessorComponent">

    <documentation>Adds outputFormat for the following mime type
      <ul>
        <li>pdf</li>
        <li>odt</li>
        <li>doc</li>
        <li>docx</li>
      </ul>
    </documentation>

    <outputFormat id="pdf" label="PDF" mimetype="application/pdf"/>
    <outputFormat id="odt" label="ODT" mimetype="application/vnd.oasis.opendocument.text"/>
    <outputFormat id="doc" label="DOC" mimetype="application/msword"/>
    <outputFormat id="docx" label="DOCX" mimetype="application/vnd.openxmlformats-officedocument.wordprocessingml.document"/>
  </extension>